package com.tjc.junit.test.v1.bean;

public class Calculator {
    private int result = 0;
    public void add(int value){
        result += value;
    }
    public void subtract(int value){
        result -= value;
    }
    public int getResult(){
        return result;
    }
}